From 4f9a6165604b89da592860d9821b920eed79f5a2 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Mon, 14 Sep 2020 10:24:19 +0100 Subject: [PATCH] tools/libs/vchan: Don't run the headers check There was never a headers check previously, and CentOS 6 can't cope with the anonymous union in struct libxenvchan. cc1: warnings being treated as errors ... tools/include/libxenvchan.h:75: error: declaration does not declare anything make[6]: *** [headers.chk] Error 1 Fixes: 8ab2429f12 ("tools: split libxenvchan into new tools/libs/vchan directory") Signed-off-by: Andrew Cooper Acked-by: Wei Liu --- tools/libs/vchan/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/libs/vchan/Makefile b/tools/libs/vchan/Makefile index 87ff608f45..5e18d5b196 100644 --- a/tools/libs/vchan/Makefile +++ b/tools/libs/vchan/Makefile @@ -8,6 +8,8 @@ LIBHEADER := libxenvchan.h SRCS-y += init.c SRCS-y += io.c +NO_HEADERS_CHK := y + include $(XEN_ROOT)/tools/libs/libs.mk $(PKG_CONFIG_LOCAL): PKG_CONFIG_INCDIR = $(XEN_libxenvchan)/include -- 2.30.2